A Framework for the Checking and Refactoring of Concepts
نویسندگان
چکیده
Programmers resort to design patterns, micro-architectures, and other idioms when their design ideas can’t be expressed directly in the programming language. The crosscutting code that appears as a result makes it harder to ensure a correct implementation of the idiom, and complicates software evolution when the idiom’s implementation cannot be modularly substituted or extended like a method or class. In this paper we introduce Concepts, an IDE-based mechanism for declaring, checking, and evolving crosscutting design idioms (such as design patterns). Programmers code their design idioms as before, but also declare their fundamental properties in supplemental files. A concept’s behavior and implementation are described separately. This separation permits describing a new implementation for a concept and then having the concept tool mechanically transform the concept’s current implementation into the new one. As a consequence we get many of the same benefits for concepts that we get for classes: checking of key behaviors and substitutability.
منابع مشابه
A Formal Framework for Establishing Conformance between Object Models and Object-Oriented Programs
Conformance between structural models and their implementations is usually simplified in practice. This is not appropriate to accommodate the usual freedom of implementation for abstract concepts. In this paper, we propose a formal framework for defining conformance between object models and object-oriented programs. The framework is instantiated by providing syntactic mapping rules between mod...
متن کاملA Multi-Formalism Modeling Framework: Formal Definitions, Model Composition and Solution Strategies
In this paper, we present a multi-formalism modeling framework (abbreviated by MFMF) for modeling and simulation. The proposed framework is defined based on the concepts of meta-models and uses object-orientation to overcome the complexities and to enhance the extensibility. The framework can be used as a basis for modeling by various formalisms and to support model composition in a unified man...
متن کاملA Multi-Formalism Modeling Framework: Formal Definitions, Model Composition and Solution Strategies
In this paper, we present a multi-formalism modeling framework (abbreviated by MFMF) for modeling and simulation. The proposed framework is defined based on the concepts of meta-models and uses object-orientation to overcome the complexities and to enhance the extensibility. The framework can be used as a basis for modeling by various formalisms and to support model composition in a unified man...
متن کاملExplaining the agency's mind in recognizing geographic space within the framework of existentialism, with emphasis on Jean-Paul Sartre's Viewpoint
In philosophy of science, particularly in the human sciences, concepts have Multiple meanings even have contradictory definition from ontological and epistemological aspects in different philosophical schools. Therefore, determination The theoretical framework for understanding of fundamental concepts, are most important in the study and understanding of the concepts in human sciences. One of t...
متن کاملCompilation Framework of Sport Diplomacy Development in Islamic Republic of Iran Armed Forces
Nowadays, sport provides an opportunity for friendly cooperation among different countries which is based on contribution of all nations and individuals in the natural form of sport. Therefore, the aim of this study was to compile a framework of sport diplomacy in Islamic Republic of Iran armed forces. The methodology of present study is Grounded Theory (GT) having qualitative approach which is...
متن کامل